home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-04-28 | 2.2 KB | 77 lines | [TEXT/R*ch] |
- <HTML>
- <TITLE> OpenWorld Examples </TITLE>
- <BODY>
- <P>
- All the following bold text is calculated on the fly<BR><BR>
- <BR>
- <BR>
- Sample script: <B><Sample></B><BR>
- Calculation script: 520 * 3450 = <B><Calculation></B><BR>
- Welcome script: <B><Welcome></B><BR>
- Big file script: <B><Big File></B><BR>
- <BR>
- <BR>
- The author of OpenWorld is <B><Author></B><BR>
- <BR>
- Modification date of the current file:<BR>
- short format <B><Modification date?short></B><BR>
- long format <B><Modification date?long></B><BR>
- abbrev. format <B><Modification date?abbr></B><BR>
- <BR>
- Modification time of the current file:<BR>
- include seconds <B><Modification time?sec></B><BR>
- without seconds <B><Modification time></B><BR>
- <BR>
- File size of the current file: <B><File size></B><BR>
- <BR>
- <P>Now I try to upcase the following text: <UPCASE>this is the text to transform in uppercase</upcase>
- <BR>
- Memory info<BR>
- Physical memory <B><Memory?Physical></B><BR>
- Logical memory <B><Memory?Logical></B><BR>
- Available memory in the system heap <B><Memory?Available></B><BR>
- Available memory in the server <B><Memory></B><BR>
- <BR>
- OS Version: <B><OS Version></B><BR>
- <BR>
- Current date:<BR>
- short format <B><date?short></B><BR>
- long format <B><date?long></B><BR>
- abbrev. format <B><date?abbr></B><BR>
- <BR>
- Current time:<BR>
- include seconds <B><time?sec></B><BR>
- without seconds <B><time></B><BR>
- <BR>
- Token and extract header:<BR>
- Browser: <B><token?1,/><extract header?user-agent></token></B><BR>
- Version: <B><token?2, /><extract header?user-agent></token></B><BR>
- Platform: <B><token?2,(;><extract header?user-agent></token></B><BR>
- Processor: <B><token?4, )><extract header?user-agent></token></B><BR>
- <BR>
- Some server infos:<BR>
- Domain name of the client: <B><Server?addr></B><BR>
- Domain name of the server: <B><Server?svnm></B><BR>
- Total number of connection: <B><Server?STCn></B><BR>
- HTTP port: <B><Server?Pprt></B><BR>
- Chunk size for TCP/IP output: <B><Server?Dbuf></B><BR>
- <BR>
- Applescript:<BR><B>
- <applescript>
- if "OpenWorld?ip"="195.120.139.130" then
- return "Welcome Marco"
- else
- return "Welcome foreigner"
- end if
- </applescript></B><BR>
- <BR>
- Frontier:<BR>
- 5*7= <B><Frontier>
- return 5*7
- </Frontier></B><BR>
- <BR>
- Counter: <Counter?unregistered>
- <BR>
- </BODY>
- </HTML>
-